<template>
  <van-nav-bar
    :title="list.title"
    :left-text="list.leftText"
    :right-text="list.rightText"
    :left-arrow="list.leftArrow"
    :border="list.border"
  />
</template>

<script>
export default {
  name:"navBar",
  props:{
    list:{
      type:Object
    }
  }
}
</script>

<style scoped>
  
</style>